package com.campus.dao;

import com.campus.model.Class;
/**
 * @desc:
 * @author: Tournesol234
 * @date: 2024/11/22 14.41
 */
import java.util.List;

public interface ClassDao {
    int createClass(Class cls);

    int updateClass(Class cls);

     int addStudentsToClass(int classId, List<Integer> studentIds);

    int assignTeachersToClass(int classId, List<Integer> teacherIds);

    Class getClassById(int id);

    List<Class> getClassesByActivityId(int activityId);

    List<Class> getAllClasses();

    int deleteClass(int classId);
}